//
//  YDTableView.h
//  ModelContrast
//
//  Created by Cluy on 15/6/19.
//  Copyright (c) 2015年 sunflowers. All rights reserved.
//

#import <UIKit/UIKit.h>
//获取选中cell值的Delegate
@class YDTableView;
@protocol GetValueDelegate
-(void)getKeyName:(NSString*)selectKey selectValue:(NSString *)selectValue tableView:(UITableView *)tableView;
- (void)tableViewDidScroll:(UIScrollView *)scrollView;
@end
@interface YDTableView : UITableView<UITableViewDataSource,UITableViewDelegate>
{
    NSString *selectKeyText; //cell选中key
    NSString *selectValueText; //cell 选中Value
}
@property (nonatomic, retain)NSArray *sectionList;//数据源 section 数>1
@property (nonatomic, retain)NSArray *titleList; //title arr
@property (nonatomic, retain)NSArray *keylist;//数据源tableview
@property (nonatomic, retain)NSArray *valuelist;
@property (assign)id <GetValueDelegate>getValuedelegate;

@end
